Skip to content

feat: added selectId #183

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

DrakeAnglin
Copy link

@DrakeAnglin DrakeAnglin commented Jul 2, 2025

closes #67
closes #28

@DrakeAnglin
Copy link
Author

@rainerhahnekamp or @abhijit-chikane Can you please review this PR?

@rainerhahnekamp
Copy link
Collaborator

If it has no bugs, it will make it also into the 19 branch. For more details: #181

@rainerhahnekamp rainerhahnekamp self-assigned this Aug 7, 2025
@DrakeAnglin
Copy link
Author

@rainerhahnekamp I merged this with master to fix the merge errors, now there are new commit rules that are throwing errors due to files i have not touched that are stopping me from fixing the lint errors.

@rainerhahnekamp
Copy link
Collaborator

@DrakeAnglin as far as I can see it is complaining exaclty about those files where you made changes. Please run prettier on them.

Copy link
Collaborator

@rainerhahnekamp rainerhahnekamp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good so far. Can you also extend the current documentation so that it includes the selectId option?

const createFlightWithCustomId = (
flight: Partial<FlightWithCustomId> = {}
): FlightWithCustomId => ({
flightId: `${++currentCustomFlightId}`,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's to the conversion how it is also suggested in the Google styleguide.

Suggested change
flightId: `${++currentCustomFlightId}`,
flightId: String(++currentCustomFlightId),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How to use DataService when my entity has no 'id' property? [SUGGESTION] Does EntityId need to be non-nullable?
2 participants